package com.sanyang.lawyer.service.adm;

import com.sanyang.lawyer.controller.home.SignTime;
import com.sanyang.lawyer.entity.Sign;
import com.sanyang.lawyer.mapper.adm.SignMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * @program: lawyer
 * @description: sss
 * @author: Mr.Wang
 * @create: 2019-11-01 15:45
 **/
@Service
public class SignService {
    @Autowired
    private SignMapper signMapper;

    public List<Sign> listAll(int userId){
        return signMapper.listAll(userId);
    }

    public List<Sign> listfurry(Map<String,String> map){
        return signMapper.listfurry(map);
    }

    public void insert(Sign sign){
        this.signMapper.insert(sign);
    }

    public List<Sign> signlist(SignTime si){
        return signMapper.signlist(si);
    }
}
